//
//  RequestCallBackDispth.h
//  MCF2
//
//  Created by QianDeng on 15/6/5.
//  Copyright (c) 2015年 ac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RequestCallBackDispatch : NSObject

@property(nonatomic, strong) NSMutableDictionary *dispatchDict;

//单例初始化
+ (id)shareRequestDispatch;

/*根据请求名回调分发
 *@param  name   请求名
 *@param  retDict  返回结果
 *@return
 */
- (void)callbackWithRequestName:(NSString *)name returnObject:(NSDictionary *)retDict;

/*添加请求回调方法
 *@param  reqName   请求名
 *@param  object   回调对象
 *@param  methodName   方法名
 *@return
 */
- (void)addRequestCallBackWithRequestName:(NSString *)reqName
                                className:(id)object
                               methodName:(NSString *)methodName;

@end
